package model

type Settlement struct {
	Id                uint32 `json:"id" gorm:"column:id"`
	Money             string `json:"money" gorm:"column:money"`
	Remark            string `json:"remark" gorm:"column:remark"`
	PaymentTime       uint32 `json:"payment_time" gorm:"column:payment_time"`
	OrderId           uint32 `json:"order_id" gorm:"column:order_id"`
	ProjectId         uint32 `json:"project_id" gorm:"column:created"`
	IsComplete        string `json:"is_complete" gorm:"column:is_complete"`
	Updated           uint32 `json:"updated" gorm:"column:updated"`
	TaxRate           string `json:"tax_rate" gorm:"column:tax_rate"`
	Number            string `json:"number" gorm:"column:number"`
	ReceivablePlanIds string `json:"receivable_plan_ids" gorm:"column:receivable_plan_ids"`
	ContractId        uint32 `json:"contract_id" gorm:"column:contract_id"`
	Created           uint32 `json:"created" gorm:"column:created"`
	Uuid              string `json:"uuid" gorm:"column:uuid"`
	PersonInCharge    uint32 `json:"person_in_charge" gorm:"column:person_in_charge"`
	CreatedBy         uint32 `json:"created_by" gorm:"column:created_by"`
	IsReviewed        string `json:"is_reviewed" gorm:"column:is_reviewed"`
}

// 设置表名
func (Settlement) TableName() string {
	return "settlement"
}
